<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<div style="padding: 3px; width: 292px; height: 22px; border-bottom: 1px solid #CCCCCC;">
	<div style="float: left;"><b>Refei&ccedil;&atilde;o</b></div>
	<div style="float: right;"><b>Tot. Kcal</b></div>
</div>
<c:forEach var="refeicao" items="${refeicoes}">
	<a href="#"
		onClick='carregarAlimento(${refeicao.codigo}, "${refeicao.tipo_refeicao}");'>
		<div style="padding: 3px; position: absolute; width: 292px; height: 16px; border-bottom: 1px dotted #CCCCCC;">
			<div style="float: left;">
				<c:out value="${refeicao.tipo_refeicao}" />
			</div>
			<div style="float: right;">
				<fmt:formatNumber value="${refeicao.totalCalorias}" type="number"
					maxFractionDigits="2" minFractionDigits="2" />
			</div>
		</div>
	</a>
	<br />
</c:forEach>